﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Asset/EassetMaster.master" AutoEventWireup="true"
    CodeBehind="AssetDepreciationForm.aspx.cs" Inherits="Eassets.UI.Asset.AssetDepreciationForm" %>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Fixed Asset Depreciation"></asp:Label>
    </div>
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="labelOrganizationLevel" runat="server" CssClass="legendlabel_size1"
                                    Text="Organization Level"></asp:Label>
                                <asp:DropDownList ID="dropDownListOrganizationLevelList" runat="server" AutoPostBack="true"
                                    CssClass="select" OnSelectedIndexChanged="dropDownListOrganizationLevelList_SelectedIndexChanged">
                                    <asp:ListItem Text="-Select-" Value="1"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td>
                            </td>
                            <td align="right" width="">
                                <asp:Label ID="labelTransactionNo" runat="server" CssClass="legendlabel_size1" Text="Transaction No"></asp:Label>
                                <asp:TextBox ID="textBoxTransactionNo" runat="server" CssClass="disable_textbox1"
                                    MaxLength="8" Width="150px"></asp:TextBox>
                                <asp:Button ID="ButtonTransactionNo" runat="server" CssClass="button_browse" Text="..." />
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewAssetDetails" runat="server" AllowPaging="True" AutoGenerateColumns="false"
                        Caption="Asset Details" CssClass="ColStyle" EmptyDataText="No data to display"
                        PageSize="10" Width="100%">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ButtonType="Image" ItemStyle-Width="20" SelectImageUrl="~/styles/images/Select_icon_button.gif"
                                ShowSelectButton="True" />
                            <asp:BoundField HeaderText="" DataField="AssetId" ItemStyle-Width="40" />
                            <asp:BoundField HeaderText="Item Serial" DataField="AssetSerialCode" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" />
                            <asp:BoundField HeaderText="AssetStatus" DataField="AssetStatus" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" />
                            <asp:BoundField HeaderText="PurchasedDate" DataField="PurchasedDate" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" DataFormatString="{0:d}" />
                            <asp:BoundField HeaderText="PurchasedValue" DataField="PurchasedValue" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" />
                            <asp:BoundField HeaderText="DepreciatedValue" DataField="DepreciatedValue" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" />
                            <asp:BoundField HeaderText="Cumulative Dep. Value" DataField="CumulativeDepValue"
                                ItemStyle-Width="120" />
                            <asp:BoundField HeaderText="Current Book Value" DataField="CurrentBookValue" ItemStyle-Width="140" />
                            <asp:BoundField HeaderText="Remaining Life Time" DataField="RemainingLifeTime" ItemStyle-Width="140" />
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <table>
                        <tr>
                            <td style="width: 20%">
                            </td>
                            <td>
                                <asp:Button ID="buttonSave" runat="server" CssClass="button_normal" Text="Save" OnClick="buttonView_OnClick" />
                            </td>
                            <td>
                                <asp:Button ID="buttonConfirm" runat="server" CssClass="button_normal" Text="Confirm"
                                    OnClick="buttonConfirm_OnClick" />
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
</asp:Content>
